import Vue from 'vue';
import Vuex from 'vuex';
import first from './modules/first'
import second from './modules/second'
Vue.use(Vuex);

export default new Vuex.Store({
    modules:{
        first,
        second
    },
    state: {
        openid: ''
    },
    mutations: {
        setState(state, obj) {
            state[obj.key] = obj.value;
        }
    }
})
